package com.yc.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Bill {
    private Integer id;
    private String type;
    private String custom;
    private String sums;
    private Timestamp time;
    private Integer uid;
    //经办人
    private User user;
    //订单详情
    private List<BillItem> items;
}
